<title>订单修改</title>
<!-- ajax layout which only needs content area -->
<div class="space-8"></div>
<div class="row">
  <div class="col-xs-12">
    <!-- PAGE CONTENT BEGINS -->

    <div class="tabbable">
      <ul class="nav nav-tabs" id="myTab">


        <li class="active">
          <a data-toggle="tab" href="#orderBaseInfo">
            <i class="green ace-icon fa fa-home bigger-120"></i>
            基本信息
          </a>
        </li>

        <li class="">
          <a data-toggle="tab" href="#orderInsurance">
            <i class="green ace-icon fa fa-home bigger-120"></i>
            投保保险
          </a>
        </li>

        <li class="">
          <a data-toggle="tab" href="#orderPassenger">
            <i class="green ace-icon fa fa-home bigger-120"></i>
            旅客信息
          </a>
        </li>
      </ul>
      <div class="tab-content clearfix">
        <div id="orderBaseInfo" class="tab-pane fade in active">
          <div class="widget-box transparent">
            <div class="widget-header widget-header-small">
              <h4 class="widget-title blue smaller">
                <i class="ace-icon fa fa-rss orange"></i>
                基本信息
              </h4>
            </div>
            <div class="space-8"></div>
            <form class="form-horizontal" role="form" id="editForm">
              <!-- #section:elements.form -->

              <div class="col-sm-6">
                <div class="form-group">
                  <label class="col-sm-3 control-label no-padding-right"> 订单编号</label>
                  <div class="col-sm-6">
                    <input type="text" id="orderNo" placeholder="订单编号" class="col-xs-12 col-sm-12" required readonly/>
                  </div>
                </div>

                <div class="form-group">
                  <label class="col-sm-3 control-label no-padding-right"> 产品</label>
                  <div class="col-sm-6">
                    <input type="text" id="productName" placeholder="产品" class="col-xs-12 col-sm-12" required
                           readonly/>
                  </div>
                </div>

                <div class="form-group">
                  <label class="col-sm-3 control-label no-padding-right"> 产品原价</label>
                  <div class="col-sm-6">
                    <input type="text" id="orderOriginalPrice" placeholder="产品原价" class="col-xs-12 col-sm-12" required
                           readonly/>
                  </div>
                </div>

                <div class="form-group">
                  <label class="col-sm-3 control-label no-padding-right"> 交易价格</label>
                  <div class="col-sm-6">
                    <input type="text" id="orderTransactPrice" placeholder="交易价格" class="col-xs-12 col-sm-12" required
                           readonly/>
                  </div>
                </div>

                <div class="form-group">
                  <label class="col-sm-3 control-label no-padding-right"> 交易折扣比率</label>
                  <div class="col-sm-6">
                    <input type="text" id="orderDiscountRate" placeholder="交易折扣比率" class="col-xs-12 col-sm-12"
                           required
                           readonly/>
                  </div>
                </div>

                <div class="form-group">
                  <label class="col-sm-3 control-label no-padding-right"> 产品成人单价</label>
                  <div class="col-sm-6">
                    <input type="text" id="orderProductPrice" placeholder="产品成人单价" class="col-xs-12 col-sm-12" required
                           readonly/>
                  </div>
                </div>

                <div class="form-group">
                  <label class="col-sm-3 control-label no-padding-right"> 产品儿童单价</label>
                  <div class="col-sm-6">
                    <input type="text" id="orderProductChildrenPrice" placeholder="产品儿童单价" class="col-xs-12 col-sm-12" required
                           readonly/>
                  </div>
                </div>


                <div class="form-group">
                  <label class="col-sm-3 control-label no-padding-right"> 是否分期</label>
                  <div class="col-sm-6">
                    <select class="col-xs-12 col-sm-12" id="orderIsStage" readonly disabled>
                      <option value="0">否</option>
                      <option value="1">是</option>
                    </select>
                  </div>
                </div>


                <div class="form-group">
                  <label class="col-sm-3 control-label no-padding-right"> 交易时间</label>
                  <div class="col-sm-6">
                    <input type="text" id="createTime" placeholder="交易时间" class="col-xs-12 col-sm-12" required
                           readonly/>
                  </div>
                </div>


                <div class="form-group">
                  <label class="col-sm-3 control-label no-padding-right"> 预定时间</label>
                  <div class="col-sm-6">
                    <input type="text" id="priceDate" placeholder="预定时间" class="col-xs-12 col-sm-12" required
                           readonly/>
                  </div>
                </div>

              </div>


              <div class="col-sm-6">
                <div class="form-group">
                  <label class="col-sm-3 control-label no-padding-right" for="orderActualPrice"> 实收价格</label>
                  <div class="col-sm-6">
                    <input type="text" id="orderActualPrice" placeholder="实收价格" class="col-xs-12 col-sm-12" required/>
                  </div>
                  <label class="col-sm-3 error" for="orderActualPrice"></label>
                </div>
                <div class="space-4"></div>

                <div class="form-group">
                  <label class="col-sm-3 control-label no-padding-right" for="orderPersonNum"> 成人数量</label>
                  <div class="col-sm-6">
                    <input type="text" id="orderPersonNum" placeholder="成人数量" class="col-xs-12 col-sm-12" required/>
                  </div>
                  <label class="col-sm-3 error" for="orderPersonNum"></label>
                </div>
                <div class="space-4"></div>
                <div class="form-group">
                  <label class="col-sm-3 control-label no-padding-right" for="orderPersonNum"> 儿童数量</label>
                  <div class="col-sm-6">
                    <input type="text" id="orderChildrenNum" placeholder="儿童数量" class="col-xs-12 col-sm-12" required/>
                  </div>
                  <label class="col-sm-3 error" for="orderChildrenNum"></label>
                </div>
                <div class="space-4"></div>

                <div class="form-group">
                  <label class="col-sm-3 control-label no-padding-right" for="orderRoomNum"> 房间数</label>
                  <div class="col-sm-6">
                    <input type="text" id="orderRoomNum" placeholder="房间数" class="col-xs-12 col-sm-12" required/>
                  </div>
                  <label class="col-sm-3 error" for="orderRoomNum"></label>
                </div>
                <div class="space-4"></div>

                <div class="form-group">
                  <label class="col-sm-3 control-label no-padding-right" for="orderStatus"> 订单状态</label>
                  <div class="col-sm-6">
                    <select class="col-xs-12 col-sm-12" id="orderStatus">
                      <option value="1">待付款</option>
                      <option value="2">已付款</option>
                      <option value="3">处理中</option>
                      <option value="4">已完成</option>
                      <option value="5">已取消</option>
                    </select>
                  </div>
                </div>
              </div>
            </form>
            <div class="space-8"></div>
            <div class="col-xs-12">

              <div class="form-actions center">
                <button class="btn btn-success" id="update">
                  <i class="ace-icon fa fa-check"></i>
                  提交
                </button>
              </div>
            </div>
          </div>
        </div>
        <div id="orderInsurance" class="tab-pane fade in">
          <div class="widget-box transparent">
            <div class="widget-header widget-header-small">
              <h4 class="widget-title blue smaller">
                <i class="ace-icon fa fa-rss orange"></i>
                投保保险
              </h4>
            </div>

            <div class="widget-main padding-8">
              <div class="row">
                <div class="col-xs-12">
                  <table id="grid-table-InsuranceList"></table>
                  <!--<div id="grid-pager-InsuranceList"></div>-->
                </div><!-- /.col -->
              </div>
            </div>

          </div>
        </div>
        <div id="orderPassenger" class="tab-pane fade in">
          <div class="widget-box transparent">
            <div class="widget-header widget-header-small">
              <h4 class="widget-title blue smaller">
                <i class="ace-icon fa fa-rss orange"></i>
                旅客信息
              </h4>

            </div>
            <div class="widget-main padding-8">
              <div class="row">
                <div class="col-xs-12">
                  <table id="grid-table-Passenger"></table>
                  <!--<div id="grid-pager-Passenger"></div>-->
                </div><!-- /.col -->
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>


</div><!-- /.row -->

<div class="hr hr-18 dotted hr-double"></div>

<!-- page specific plugin scripts -->
<script src="../public/javascripts/scripts/order/edit.js">
